package cn.itsource.user.service;

import cn.itsource.basic.exception.CustomException;
import cn.itsource.user.domain.dto.LoginInfoDto;

import java.util.Map;

public interface IWechatService {

    /**
     * 处理回调接口
     *
     * @param code 授权码
     */
    Map<String, Object> handleCallback(String code);


    /**
     * 微信和手机用户绑定起来
     * @param loginInfoDto
     */
    Map<String,Object> binder(LoginInfoDto loginInfoDto) throws CustomException;
}
